package com.panshi.api.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author XiaoWangYa
 * @version 1.0
 * @date 2020/8/4 0004 下午 9:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("文章收藏属性类")
public class UserCollectionBean implements Serializable {
    @ApiModelProperty("收藏id")
    private int cid;
    @ApiModelProperty("用户id")
    private int uid;
    @ApiModelProperty("业务(文章/问题)id")
    private int aid;
    @ApiModelProperty("类型(0文章 1 问题 2伪删除)")
    private String type_id;
}
